random_number=$RANDOM
if (( (random_number & 1) == 1 )); then
  echo "随机数 $random_number 是奇数"
  exit 1
else
  echo "随机数 $random_number 是偶数"
fi